home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 May / CMCD0504.ISO / Software / Freeware / Programare / dspack / DSPACK231.exe / {app} / include / wmdxva.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-10-27  |  12.8 KB  |  445 lines

  1.  
  2.  
  3. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  4.  
  5.  
  6.  /* File created by MIDL compiler version 6.00.0361 */
  7. /* Compiler settings for wmdxva.idl:
  8.     Oicf, W1, Zp8, env=Win32 (32b run)
  9.     protocol : dce , ms_ext, c_ext, robust
  10.     error checks: allocation ref bounds_check enum stub_data 
  11.     VC __declspec() decoration level: 
  12.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  13.          DECLSPEC_UUID(), MIDL_INTERFACE()
  14. */
  15. //@@MIDL_FILE_HEADING(  )
  16.  
  17. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  18.  
  19.  
  20. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  21. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  22. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  23. #endif
  24.  
  25. #include "rpc.h"
  26. #include "rpcndr.h"
  27.  
  28. #ifndef __RPCNDR_H_VERSION__
  29. #error this stub requires an updated version of <rpcndr.h>
  30. #endif // __RPCNDR_H_VERSION__
  31.  
  32. #ifndef COM_NO_WINDOWS_H
  33. #include "windows.h"
  34. #include "ole2.h"
  35. #endif /*COM_NO_WINDOWS_H*/
  36.  
  37. #ifndef __wmdxva_h__
  38. #define __wmdxva_h__
  39.  
  40. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  41. #pragma once
  42. #endif
  43.  
  44. /* Forward Declarations */ 
  45.  
  46. #ifndef __IWMPlayerTimestampHook_FWD_DEFINED__
  47. #define __IWMPlayerTimestampHook_FWD_DEFINED__
  48. typedef interface IWMPlayerTimestampHook IWMPlayerTimestampHook;
  49. #endif     /* __IWMPlayerTimestampHook_FWD_DEFINED__ */
  50.  
  51.  
  52. #ifndef __IWMCodecAMVideoAccelerator_FWD_DEFINED__
  53. #define __IWMCodecAMVideoAccelerator_FWD_DEFINED__
  54. typedef interface IWMCodecAMVideoAccelerator IWMCodecAMVideoAccelerator;
  55. #endif     /* __IWMCodecAMVideoAccelerator_FWD_DEFINED__ */
  56.  
  57.  
  58. #ifndef __IWMCodecVideoAccelerator_FWD_DEFINED__
  59. #define __IWMCodecVideoAccelerator_FWD_DEFINED__
  60. typedef interface IWMCodecVideoAccelerator IWMCodecVideoAccelerator;
  61. #endif     /* __IWMCodecVideoAccelerator_FWD_DEFINED__ */
  62.  
  63.  
  64. /* header files for imported files */
  65. #include "mediaobj.h"
  66. #include "videoacc.h"
  67.  
  68. #ifdef __cplusplus
  69. extern "C"{
  70. #endif 
  71.  
  72. void * __RPC_USER MIDL_user_allocate(size_t);
  73. void __RPC_USER MIDL_user_free( void * ); 
  74.  
  75. /* interface __MIDL_itf_wmdxva_0000 */
  76. /* [local] */ 
  77.  
  78. //=========================================================================
  79. //
  80. // Microsoft Windows Media Technologies
  81. // Copyright (C) Microsoft Corporation.  All Rights Reserved.
  82. //
  83. //=========================================================================
  84. EXTERN_GUID( IID_IWMPlayerTimestampHook,   0x28580dda, 0xd98e, 0x48d0, 0xb7, 0xae, 0x69, 0xe4, 0x73, 0xa0, 0x28, 0x25);
  85. EXTERN_GUID( IID_IWMCodecVideoAccelerator, 0x990641b0, 0x739f, 0x4e94, 0xa8, 0x08, 0x98, 0x88, 0xda, 0x8f, 0x75, 0xaf);
  86. EXTERN_GUID( IID_IWMCodecAMVideoAccelerator, 0xd98ee251, 0x34e0, 0x4a2d, 0x93, 0x12, 0x9b, 0x4c, 0x78, 0x8d, 0x9f, 0xa1);
  87.  
  88.  
  89. extern RPC_IF_HANDLE __MIDL_itf_wmdxva_0000_v0_0_c_ifspec;
  90. extern RPC_IF_HANDLE __MIDL_itf_wmdxva_0000_v0_0_s_ifspec;
  91.  
  92. #ifndef __IWMPlayerTimestampHook_INTERFACE_DEFINED__
  93. #define __IWMPlayerTimestampHook_INTERFACE_DEFINED__
  94.  
  95. /* interface IWMPlayerTimestampHook */
  96. /* [local][unique][helpstring][uuid][object] */ 
  97.  
  98.  
  99. EXTERN_C const IID IID_IWMPlayerTimestampHook;
  100.  
  101. #if defined(__cplusplus) && !defined(CINTERFACE)
  102.     
  103.     MIDL_INTERFACE("28580dda-d98e-48d0-b7ae-69e473a02825")
  104.     IWMPlayerTimestampHook : public IUnknown
  105.     {
  106.     public:
  107.         virtual HRESULT STDMETHODCALLTYPE MapTimestamp( 
  108.             /* [in] */ REFERENCE_TIME rtIn,
  109.             /* [out] */ REFERENCE_TIME *prtOut) = 0;
  110.         
  111.     };
  112.     
  113. #else     /* C style interface */
  114.  
  115.     typedef struct IWMPlayerTimestampHookVtbl
  116.     {
  117.         BEGIN_INTERFACE
  118.         
  119.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  120.             IWMPlayerTimestampHook * This,
  121.             /* [in] */ REFIID riid,
  122.             /* [iid_is][out] */ void **ppvObject);
  123.         
  124.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  125.             IWMPlayerTimestampHook * This);
  126.         
  127.         ULONG ( STDMETHODCALLTYPE *Release )( 
  128.             IWMPlayerTimestampHook * This);
  129.         
  130.         HRESULT ( STDMETHODCALLTYPE *MapTimestamp )( 
  131.             IWMPlayerTimestampHook * This,
  132.             /* [in] */ REFERENCE_TIME rtIn,
  133.             /* [out] */ REFERENCE_TIME *prtOut);
  134.         
  135.         END_INTERFACE
  136.     } IWMPlayerTimestampHookVtbl;
  137.  
  138.     interface IWMPlayerTimestampHook
  139.     {
  140.         CONST_VTBL struct IWMPlayerTimestampHookVtbl *lpVtbl;
  141.     };
  142.  
  143.     
  144.  
  145. #ifdef COBJMACROS
  146.  
  147.  
  148. #define IWMPlayerTimestampHook_QueryInterface(This,riid,ppvObject)    \
  149.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  150.  
  151. #define IWMPlayerTimestampHook_AddRef(This)    \
  152.     (This)->lpVtbl -> AddRef(This)
  153.  
  154. #define IWMPlayerTimestampHook_Release(This)    \
  155.     (This)->lpVtbl -> Release(This)
  156.  
  157.  
  158. #define IWMPlayerTimestampHook_MapTimestamp(This,rtIn,prtOut)    \
  159.     (This)->lpVtbl -> MapTimestamp(This,rtIn,prtOut)
  160.  
  161. #endif /* COBJMACROS */
  162.  
  163.  
  164. #endif     /* C style interface */
  165.  
  166.  
  167.  
  168. HRESULT STDMETHODCALLTYPE IWMPlayerTimestampHook_MapTimestamp_Proxy( 
  169.     IWMPlayerTimestampHook * This,
  170.     /* [in] */ REFERENCE_TIME rtIn,
  171.     /* [out] */ REFERENCE_TIME *prtOut);
  172.  
  173.  
  174. void __RPC_STUB IWMPlayerTimestampHook_MapTimestamp_Stub(
  175.     IRpcStubBuffer *This,
  176.     IRpcChannelBuffer *_pRpcChannelBuffer,
  177.     PRPC_MESSAGE _pRpcMessage,
  178.     DWORD *_pdwStubPhase);
  179.  
  180.  
  181.  
  182. #endif     /* __IWMPlayerTimestampHook_INTERFACE_DEFINED__ */
  183.  
  184.  
  185. #ifndef __IWMCodecAMVideoAccelerator_INTERFACE_DEFINED__
  186. #define __IWMCodecAMVideoAccelerator_INTERFACE_DEFINED__
  187.  
  188. /* interface IWMCodecAMVideoAccelerator */
  189. /* [local][unique][helpstring][uuid][object] */ 
  190.  
  191.  
  192. EXTERN_C const IID IID_IWMCodecAMVideoAccelerator;
  193.  
  194. #if defined(__cplusplus) && !defined(CINTERFACE)
  195.     
  196.     MIDL_INTERFACE("d98ee251-34e0-4a2d-9312-9b4c788d9fa1")
  197.     IWMCodecAMVideoAccelerator : public IUnknown
  198.     {
  199.     public:
  200.         virtual HRESULT STDMETHODCALLTYPE SetAcceleratorInterface( 
  201.             /* [in] */ IAMVideoAccelerator *pIAMVA) = 0;
  202.         
  203.         virtual HRESULT STDMETHODCALLTYPE NegotiateConnection( 
  204.             /* [in] */ DMO_MEDIA_TYPE *pMediaType) = 0;
  205.         
  206.         virtual HRESULT STDMETHODCALLTYPE SetPlayerNotify( 
  207.             /* [in] */ IWMPlayerTimestampHook *pHook) = 0;
  208.         
  209.     };
  210.     
  211. #else     /* C style interface */
  212.  
  213.     typedef struct IWMCodecAMVideoAcceleratorVtbl
  214.     {
  215.         BEGIN_INTERFACE
  216.         
  217.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  218.             IWMCodecAMVideoAccelerator * This,
  219.             /* [in] */ REFIID riid,
  220.             /* [iid_is][out] */ void **ppvObject);
  221.         
  222.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  223.             IWMCodecAMVideoAccelerator * This);
  224.         
  225.         ULONG ( STDMETHODCALLTYPE *Release )( 
  226.             IWMCodecAMVideoAccelerator * This);
  227.         
  228.         HRESULT ( STDMETHODCALLTYPE *SetAcceleratorInterface )( 
  229.             IWMCodecAMVideoAccelerator * This,
  230.             /* [in] */ IAMVideoAccelerator *pIAMVA);
  231.         
  232.         HRESULT ( STDMETHODCALLTYPE *NegotiateConnection )( 
  233.             IWMCodecAMVideoAccelerator * This,
  234.             /* [in] */ DMO_MEDIA_TYPE *pMediaType);
  235.         
  236.         HRESULT ( STDMETHODCALLTYPE *SetPlayerNotify )( 
  237.             IWMCodecAMVideoAccelerator * This,
  238.             /* [in] */ IWMPlayerTimestampHook *pHook);
  239.         
  240.         END_INTERFACE
  241.     } IWMCodecAMVideoAcceleratorVtbl;
  242.  
  243.     interface IWMCodecAMVideoAccelerator
  244.     {
  245.         CONST_VTBL struct IWMCodecAMVideoAcceleratorVtbl *lpVtbl;
  246.     };
  247.  
  248.     
  249.  
  250. #ifdef COBJMACROS
  251.  
  252.  
  253. #define IWMCodecAMVideoAccelerator_QueryInterface(This,riid,ppvObject)    \
  254.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  255.  
  256. #define IWMCodecAMVideoAccelerator_AddRef(This)    \
  257.     (This)->lpVtbl -> AddRef(This)
  258.  
  259. #define IWMCodecAMVideoAccelerator_Release(This)    \
  260.     (This)->lpVtbl -> Release(This)
  261.  
  262.  
  263. #define IWMCodecAMVideoAccelerator_SetAcceleratorInterface(This,pIAMVA)    \
  264.     (This)->lpVtbl -> SetAcceleratorInterface(This,pIAMVA)
  265.  
  266. #define IWMCodecAMVideoAccelerator_NegotiateConnection(This,pMediaType)    \
  267.     (This)->lpVtbl -> NegotiateConnection(This,pMediaType)
  268.  
  269. #define IWMCodecAMVideoAccelerator_SetPlayerNotify(This,pHook)    \
  270.     (This)->lpVtbl -> SetPlayerNotify(This,pHook)
  271.  
  272. #endif /* COBJMACROS */
  273.  
  274.  
  275. #endif     /* C style interface */
  276.  
  277.  
  278.  
  279. HRESULT STDMETHODCALLTYPE IWMCodecAMVideoAccelerator_SetAcceleratorInterface_Proxy( 
  280.     IWMCodecAMVideoAccelerator * This,
  281.     /* [in] */ IAMVideoAccelerator *pIAMVA);
  282.  
  283.  
  284. void __RPC_STUB IWMCodecAMVideoAccelerator_SetAcceleratorInterface_Stub(
  285.     IRpcStubBuffer *This,
  286.     IRpcChannelBuffer *_pRpcChannelBuffer,
  287.     PRPC_MESSAGE _pRpcMessage,
  288.     DWORD *_pdwStubPhase);
  289.  
  290.  
  291. HRESULT STDMETHODCALLTYPE IWMCodecAMVideoAccelerator_NegotiateConnection_Proxy( 
  292.     IWMCodecAMVideoAccelerator * This,
  293.     /* [in] */ DMO_MEDIA_TYPE *pMediaType);
  294.  
  295.  
  296. void __RPC_STUB IWMCodecAMVideoAccelerator_NegotiateConnection_Stub(
  297.     IRpcStubBuffer *This,
  298.     IRpcChannelBuffer *_pRpcChannelBuffer,
  299.     PRPC_MESSAGE _pRpcMessage,
  300.     DWORD *_pdwStubPhase);
  301.  
  302.  
  303. HRESULT STDMETHODCALLTYPE IWMCodecAMVideoAccelerator_SetPlayerNotify_Proxy( 
  304.     IWMCodecAMVideoAccelerator * This,
  305.     /* [in] */ IWMPlayerTimestampHook *pHook);
  306.  
  307.  
  308. void __RPC_STUB IWMCodecAMVideoAccelerator_SetPlayerNotify_Stub(
  309.     IRpcStubBuffer *This,
  310.     IRpcChannelBuffer *_pRpcChannelBuffer,
  311.     PRPC_MESSAGE _pRpcMessage,
  312.     DWORD *_pdwStubPhase);
  313.  
  314.  
  315.  
  316. #endif     /* __IWMCodecAMVideoAccelerator_INTERFACE_DEFINED__ */
  317.  
  318.  
  319. #ifndef __IWMCodecVideoAccelerator_INTERFACE_DEFINED__
  320. #define __IWMCodecVideoAccelerator_INTERFACE_DEFINED__
  321.  
  322. /* interface IWMCodecVideoAccelerator */
  323. /* [local][unique][helpstring][uuid][object] */ 
  324.  
  325.  
  326. EXTERN_C const IID IID_IWMCodecVideoAccelerator;
  327.  
  328. #if defined(__cplusplus) && !defined(CINTERFACE)
  329.     
  330.     MIDL_INTERFACE("990641b0-739f-4e94-a808-9888da8f75af")
  331.     IWMCodecVideoAccelerator : public IUnknown
  332.     {
  333.     public:
  334.         virtual HRESULT STDMETHODCALLTYPE NegotiateConnection( 
  335.             /* [in] */ IAMVideoAccelerator *pIAMVA,
  336.             /* [in] */ DMO_MEDIA_TYPE *pMediaType) = 0;
  337.         
  338.         virtual HRESULT STDMETHODCALLTYPE SetPlayerNotify( 
  339.             /* [in] */ IWMPlayerTimestampHook *pHook) = 0;
  340.         
  341.     };
  342.     
  343. #else     /* C style interface */
  344.  
  345.     typedef struct IWMCodecVideoAcceleratorVtbl
  346.     {
  347.         BEGIN_INTERFACE
  348.         
  349.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  350.             IWMCodecVideoAccelerator * This,
  351.             /* [in] */ REFIID riid,
  352.             /* [iid_is][out] */ void **ppvObject);
  353.         
  354.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  355.             IWMCodecVideoAccelerator * This);
  356.         
  357.         ULONG ( STDMETHODCALLTYPE *Release )( 
  358.             IWMCodecVideoAccelerator * This);
  359.         
  360.         HRESULT ( STDMETHODCALLTYPE *NegotiateConnection )( 
  361.             IWMCodecVideoAccelerator * This,
  362.             /* [in] */ IAMVideoAccelerator *pIAMVA,
  363.             /* [in] */ DMO_MEDIA_TYPE *pMediaType);
  364.         
  365.         HRESULT ( STDMETHODCALLTYPE *SetPlayerNotify )( 
  366.             IWMCodecVideoAccelerator * This,
  367.             /* [in] */ IWMPlayerTimestampHook *pHook);
  368.         
  369.         END_INTERFACE
  370.     } IWMCodecVideoAcceleratorVtbl;
  371.  
  372.     interface IWMCodecVideoAccelerator
  373.     {
  374.         CONST_VTBL struct IWMCodecVideoAcceleratorVtbl *lpVtbl;
  375.     };
  376.  
  377.     
  378.  
  379. #ifdef COBJMACROS
  380.  
  381.  
  382. #define IWMCodecVideoAccelerator_QueryInterface(This,riid,ppvObject)    \
  383.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  384.  
  385. #define IWMCodecVideoAccelerator_AddRef(This)    \
  386.     (This)->lpVtbl -> AddRef(This)
  387.  
  388. #define IWMCodecVideoAccelerator_Release(This)    \
  389.     (This)->lpVtbl -> Release(This)
  390.  
  391.  
  392. #define IWMCodecVideoAccelerator_NegotiateConnection(This,pIAMVA,pMediaType)    \
  393.     (This)->lpVtbl -> NegotiateConnection(This,pIAMVA,pMediaType)
  394.  
  395. #define IWMCodecVideoAccelerator_SetPlayerNotify(This,pHook)    \
  396.     (This)->lpVtbl -> SetPlayerNotify(This,pHook)
  397.  
  398. #endif /* COBJMACROS */
  399.  
  400.  
  401. #endif     /* C style interface */
  402.  
  403.  
  404.  
  405. HRESULT STDMETHODCALLTYPE IWMCodecVideoAccelerator_NegotiateConnection_Proxy( 
  406.     IWMCodecVideoAccelerator * This,
  407.     /* [in] */ IAMVideoAccelerator *pIAMVA,
  408.     /* [in] */ DMO_MEDIA_TYPE *pMediaType);
  409.  
  410.  
  411. void __RPC_STUB IWMCodecVideoAccelerator_NegotiateConnection_Stub(
  412.     IRpcStubBuffer *This,
  413.     IRpcChannelBuffer *_pRpcChannelBuffer,
  414.     PRPC_MESSAGE _pRpcMessage,
  415.     DWORD *_pdwStubPhase);
  416.  
  417.  
  418. HRESULT STDMETHODCALLTYPE IWMCodecVideoAccelerator_SetPlayerNotify_Proxy( 
  419.     IWMCodecVideoAccelerator * This,
  420.     /* [in] */ IWMPlayerTimestampHook *pHook);
  421.  
  422.  
  423. void __RPC_STUB IWMCodecVideoAccelerator_SetPlayerNotify_Stub(
  424.     IRpcStubBuffer *This,
  425.     IRpcChannelBuffer *_pRpcChannelBuffer,
  426.     PRPC_MESSAGE _pRpcMessage,
  427.     DWORD *_pdwStubPhase);
  428.  
  429.  
  430.  
  431. #endif     /* __IWMCodecVideoAccelerator_INTERFACE_DEFINED__ */
  432.  
  433.  
  434. /* Additional Prototypes for ALL interfaces */
  435.  
  436. /* end of Additional Prototypes */
  437.  
  438. #ifdef __cplusplus
  439. }
  440. #endif
  441.  
  442. #endif
  443.  
  444.  
  445.